/**
 * 
 */
package huajiu.com.vo;

import huajiu.com.base.CommonConstant;

/**
 * @author ItBotPjq
 *2018年2月12日
 */
public class ApiResponseVo {
	    // mid为空 返回码
		public static final String MID_NULL = "1001";
		
		// sign为空 返回码
		public static final String SIGN_NULL = "1002";

		// sign验证有误 返回码
		public static final String SIGN_WRONG = "1003";

		// timestamp无效 返回码
		public static final String TIMESTAMP_INVALID = "1004";
		
		//无权限调用 返回码
		public static final String 	WITHOUT_PERMISSION = "1005";
		/**
		 * 
		 */
		protected static final long serialVersionUID = 5325521982124983937L;

		/**
		 * 校验码，0：正常，1：异常
		 */
		private int code;

		/**
		 * 返回数据
		 */
		private Object data;

		/**
		 * 返回码
		 */
		private String returnCode;

		/**
		 * 返回消息
		 */
		private String message;

		public int getCode()
		{
			return code;
		}

		public void setCode(int code)
		{
			this.code = code;
		}

		public Object getData()
		{
			return data;
		}

		public void setData(Object data)
		{
			this.data = data;
		}

		public String getMessage()
		{
			return message;
		}

		public void setMessage(String message)
		{
			this.message = message;
		}

		public String getReturnCode()
		{
			return returnCode;
		}

		public void setReturnCode(String returnCode)
		{
			this.returnCode = returnCode;
		}
}
